package com.czq.common.exception;

/**
 * @author Administrator
 * @date   2022/2/27 0027 21:25
 */
public enum ErrorEnum
{
	UNKNOW_EXCEPTION(10000, "系统未知异常"),
	VOLID_EXCEPTION(10001, "参数校验异常")
	
	;
	
	private int code;
	
	private String msg;
	
	ErrorEnum(int code, String msg)
	{
		this.code = code;
		this.msg = msg;
	}

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
